package com.ebs.md.api;

/**
 * Perforce Revision:
 *  $File: //depot/MarketData/commons-md-api/MAIN/src/main/java/com/ebs/md/api/IOrder.java $
 *  $Revision: #4 $  $Change: 114849 $  $DateTime: 2012/09/11 13:51:59 $  $Author: Arik.Sher $
 */

import java.io.Serializable;


public interface IOrder
extends Serializable
{
	public IProduct  getProduct();
	
	public Rate  getRate();
	public Long  getAmount(); // available amount
	
	public OrderOperation getOperation();
	public OrderSide      getSide();
	
	// total amount
	public Long  getTotalAmount();

	/**
	 *  since Iceberg. 
	 *  maximum display amount to market.
	 *  if it is an iceberg message than this value might be smaller than the available amount
	 *  
	 * @return
	 */
	public Long  getDisplayAmount(); 

}
